  <script type="text/javascript" src="<?php echo SITE_URL; ?>/themes/mexicoAnuncia/js/niftycube.js"></script>
  <script type="text/javascript" src="<?php echo SITE_URL; ?>/themes/mexicoAnuncia/js/NiftyFront.js"></script>
  <script type="text/javascript" src="<?php echo SITE_URL; ?>/themes/mexicoAnuncia/js/jquery-1.4.4.min.js"></script>
  <script type="text/javascript">
  function clearCamp(idCamp)
  {
    campoAlimpiar = document.getElementById(idCamp).setAttribute("value", "");
  }
  </script>
  <script type="text/javascript" src="<?php echo SITE_URL; ?>/themes/wpClassifieds/jsclass.js"></script>
  <!-- Open Classfieds Layout-->
 
  <div class="container_12" id="wrap">
     
    <div class="containerHeader" id="header">
      <div class="publishNewAddTopContainer">
	Publicar un anuncio
      </div>
      <div class="publishNewAddLateral">
	P<br />u<br />b<br />l<br />i<br />c<br />a<br />r<br /><br />a<br />n<br />u<br />n<br />c<br />i<br />o
      </div>
      <!-- Init My Header -->
      
  <div id="bloque">
    
  <div id="caja1">
    <img alt="mexicoanuncia" src="images/src/logo.png" style="height: 83px; width: 210px; margin-left:10px; ">
      
  </div>
  
  <div id="caja2">
    <div style="width:100%">
    <table style="width:100%">
      <tr>
      <td>
	Anuncios gratis en <b>M&eacute;xico</b>
	<br />
	<br />
      </td>
      <tr>
    </table>
    </div>
    <div>
  <form action="?" method="get" onsubmit='clearCamp("title")'>
    <table  id="tableForm">
      <tr style="height:39px;">
	<td style="padding-left:4px; width:40px" class="tdTopSearcher">
	  T&iacute;tulo
	</td>
	<td class="tdTopSearcher" style="width:150px;">
	  <input type="text" name="title" id="title" class="searcherInput" value="Buscar..." onclick='clearCamp("title")' />
	  <input type="hidden" name="type" value="0" />
	  <input type="hidden" name="place" value="" />
	  <input type="hidden" name="desc" value=""/>
	  <input type="hidden" name="price" value="" />
	  <input type="hidden" name="sort" value="" />
	</td>
	<td style="padding-left:4px; width:40px" class="tdTopSearcher">
	  Categor&iacute;a
	</td>
	<td class="tdTopSearcher" style="padding-left:3px; width:150px">
	  <select name="category" id="category" class="searcherSelect">
	  <?php
	    //category=&type=0&place=&title=&desc=&price=&sort=
	    include('MyFunctions/myIncludeFunctions.php');
  
	  do {  
	  ?>
  
	  <option value="<?php echo $row_Recordset1['friendlyName']?>">
	    <?php echo $row_Recordset1['name']?>
	  </option><?php
	  } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
	    $rows = mysql_num_rows($Recordset1);
	    if($rows > 0) {
		mysql_data_seek($Recordset1, 0);
		    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
	    }
	  ?>
	</select>
	</td>
	<td class="tdTopSearcher" style="padding-left:3px;">
	<div class="buttonTopContainer">
	  <button class="searchButton" ></button>
	  <br>
	<div>
	</td>
	 </tr>
    </table>
    <div style="width:100%">
      <table width="100%">
  <tr>
    <td style="width: 2000px">
      Un sitio para vendedores y compradores</a>	
    </td>
    <td style="width: 40px">
      <i><a href="http://www.mexicoanuncia.com" style="text-decoration:underline; color:#77CBEB">http://www.mexicoanuncia.com</a></i>
    </td>
  </tr>
      </table>
</div>
  </form>
    </div>
  </div>
  
  
  </div>
  <div class="salto"></div>
  <div>
  </div>
  
  <!-- Open Classfieds Layout-->
  
  <div class="clear"></div>
  <div class="clear"></div>
    <div id="content">
       <div style="padding-left:1px;">
	<div class=" breadcrumb">
	      <?php if(isset($categoryName)&&isset($categoryDescription)){ ?>
			      <?php echo $categoryDescription;?>
			      <a title="<?php echo _("Post Ad in");?> <?php echo $categoryName;?>" href="<?php echo SITE_URL.newURL();?>"><?php echo _("Post Ad in");?> <?php echo $categoryName;?></a> 
		  <?php }            
		      else echo ("Anuncios clasificados para M&eacute;xico");
		  ?>
	      <div style="float:right; padding-right:33px;">
		<b><?php setlocale(LC_TIME,"es_ES");
		         $fecha = strftime("Hoy es %A, %e de %B de %Y %H:%M:%S"  ,time());
			 $fechaSinAcentos = str_replace("Ã©", "&eacute;", $fecha);
			 echo $fecha;
			 ?></b>
	       </div>
	      </div>
      </div>
       
      <div class="clear"></div>
	 <div class="grid_8" id="content_main">
	  